namespace WP7Contrib.Services.BingMaps.Resources.ImageryMetadata
{
    using System.Collections.Generic;
    using Newtonsoft.Json;

    [JsonObject(MemberSerialization.OptIn)]
    internal sealed class Metadata
    {
        [JsonProperty("__type")]
        public string Type { get; set; }

        [JsonProperty("imageUrl")]
        public string ImageUrl { get; set; }

        [JsonProperty("imageUrlSubdomains")]
        public IList<string> ImageUrlSubdomains { get; set; }

        [JsonProperty("imageWidth")]
        public int ImageWidth { get; set; }

        [JsonProperty("imageHeight")]
        public int ImageHeight { get; set; }
        
        [JsonProperty("imageryProviders")]
        public string ImageryProviders { get; set; }
        
        [JsonProperty("vintageEnd")]
        public string VintageEnd { get; set; }

        [JsonProperty("vintageStart")]
        public string VintageStart { get; set; }

        [JsonProperty("zoomMin")]
        public int ZoomMin { get; set; }

        [JsonProperty("zoomMax")]
        public int ZoomMax { get; set; }

        [JsonProperty("orientation")]
        public int Orientation { get; set; }

        [JsonProperty("tilesX")]
        public int TilesX { get; set; }

        [JsonProperty("tilesY")]
        public int TilesY { get; set; }
    }
}